package com.chen.ssm.dao;

import com.chen.ssm.entity.Flight;

import java.util.List;

/**
 * com.chen.ssm.dao
 * 作者      : 陈晓
 * 描述      :
 * 创建日期  : 2017/12/8
 * 修改日期  :
 */
public interface FlightDao {

  void update(Flight flight);

  void add(Flight flight);

  Integer getCount(Flight flight);

  List<Flight> getIndexList(Flight flight);

  List<Flight> selectListByAircraftId(Integer aircraftId);

  int deleteByPrimaryKey(Integer id);

  int insert(Flight record);

  int insertSelective(Flight record);

  Flight selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(Flight record);

  int updateByPrimaryKey(Flight record);
}
